package org.matchergen.examples.command;

import org.matchergen.GenerateMatcher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@GenerateMatcher
public class LogCommand extends MessageCommand {
	private Logger logger;

	public LogCommand(String message) {
		super(message);

		this.logger = LoggerFactory.getLogger(getClass());
	}

	public void execute() {
		logger.info(getMessage());
	}
}
